home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12350 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: newshub.ccs.yorku.ca!news
  2. From: "Shahed A. Quazi" <shahed@yucc.yorku.ca>
  3. Newsgroups: comp.lang.c
  4. Subject: B-Tree example...
  5. Date: 31 Mar 1996 17:44:55 GMT
  6. Organization: York University, Canada
  7. Message-ID: <4jmgan$4ui@sunburst.ccs.yorku.ca>
  8. References: <14546@828046609> <4jgo7h$n7i@darkstar.UCSC.EDU> <4jhadrINNsim@mayne.ugrad.cs.ubc.ca> <828221679snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: cosmo16.slip.yorku.ca
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  14.  
  15. Hi:
  16.  
  17. I guess I'm asking for too much, but just wondering if someone happen to 
  18. have a source code for a B-Tree program where a user can find, insert and 
  19. delete keys from a B-Tree using the following methods:
  20.  
  21. a) Redistribution with the right sibling only.
  22. b) Redistribution with both siblings.
  23. c) Try the right sibling first, if not, try left sibling.
  24.  
  25. Actually, I'm writing a simple interactive database program where I need 
  26. to use B-Tree extensively and I think some good examples would greatly 
  27. help to widen my thoughts.
  28.  
  29. Any response would be highly appreciated.
  30.  
  31. Thanks
  32.  
  33. Shahed A. Quazi
  34. York University, Toronto, Canada
  35.  
  36.  
  37.